<?php

header("Content-Type: application/json");
include('../../include/functions.inc.php');
$facturas = $db->query_toJson("cllg_factura", NULL, array("ID" => "ID", "SERIE" => "SERIE", "NUMERO" => "NUMERO", "FECHA" => "FECHA",
    "NIT" => "NIT", "NOMBRE" => "NOMBRE", "MONTO" => "TOTAL"));
echo $facturas;
?>